package com.ttg.pojo;

//~--- non-JDK imports --------------------------------------------------------

import java.text.SimpleDateFormat;
import java.util.Date;

//~--- JDK imports ------------------------------------------------------------

//~--- classes ----------------------------------------------------------------

/**
 * Class BatchPayResultPojo
 * Description
 * Create 2016-06-25 18:13:57
 *
 * @author Ardy
 */
public class BatchPayResultPojo extends BasePojo {

    /**
     * Field payChannel
     * Description
     */
    private String payChannel;

    /**
     * Field startDate
     * Description
     */
    private Date startDate;

    /**
     * Field endDate
     * Description
     */
    private Date endDate;

    /**
     * Method toString
     * Description 说明：
     *
     * @return 返回值说明：
     */
    @Override
    public String toString() {
        return "BatchPayResultPojo{" + "payChannel='" + payChannel + '\'' + ", startDate='" + startDate + '\''
                + ", endDate='" + endDate + '\'' + "} " + super.toString();
    }

    /**
     * Method getPayChannel
     * Description 说明：
     *
     * @return 返回值说明：
     */
    public String getPayChannel() {
        return payChannel;
    }

    /**
     * Method setPayChannel
     * Description 说明：
     *
     * @param payChannel 说明：
     */
    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
        this.allParameters.put("payChannel", payChannel);
    }

    /**
     * Method getStartDate
     * Description 说明：
     *
     * @return 返回值说明：
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     * Method setStartDate
     * Description 说明：
     *
     * @param startDate 说明：
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        this.allParameters.put("startDate", sdf.format(startDate));
    }

    /**
     * Method getEndDate
     * Description 说明：
     *
     * @return 返回值说明：
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * Method setEndDate
     * Description 说明：
     *
     * @param endDate 说明：
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        this.allParameters.put("endDate", sdf.format(endDate));
    }
}


//~ Formatted by Jindent --- http://www.jindent.com
